package com.example.demo.service.impl;

import com.example.demo.service.ResourceService;
import com.example.demo.util.ResourceUtils;
import com.qiniu.common.QiniuException;
import com.qiniu.storage.model.DefaultPutRet;
import org.springframework.stereotype.Service;
import org.springframework.web.multipart.MultipartFile;

@Service
public class ResourceServiceImpl implements ResourceService {

    @Override
    public boolean upload(MultipartFile file) throws QiniuException {
        DefaultPutRet putRet = ResourceUtils.upload(file);
        return false;
    }



}
